Experiment: publish crate to NPM using wasm-pack#73
Experiment: publish crate to NPM using wasm-pack#73yvan-sraka wants to merge 1 commit intonix-community:masterfrom
wasm-pack#73Conversation
|
Please note that I'm not necessarily inclined to maintain such a platform as well. However, if you're still willing to work on this (and help out with maintenance), then I'd be OK with merging it in and advertise the support as "experimental". Please rebase your branch in that case. |
|
I'm also not sure if/how this is beneficial (I've wrote |
Summary & Motivation
The main motivation is to be able to use this crate in any JS/TS project, and to package and publish it on NPM. You can find the build artifacts generated into
./pkgfolder here!Backwards-incompatible changes
wasm-packwanted targetwasm32-unknow-unkwnon, I quickly change theflake.nixconfiguration, this shouldn't be merged as is.Further context
We try to build with @RaitoBezarius some experimental GUI frontend for Nix, using Svelte in a first PoC.